<% if flash[:error] %>
<%#= flash[:error] %>
<div id="error_flash" class="box_standout" style="color: red; font-weight: bold; margin: 0.8em 0.8em; line-height: 1.4;">
 <%= link_to_function image_tag("close.gif", :style => "float: right;"),
                  visual_effect(:toggle_slide, "error_flash", :duration => 0.3) %>
                <%= white_list flash[:error] %>
              </div>
<% end %>